import { ServiceTester } from '../tester.js'
export const t = new ServiceTester({
  id: 'SnykVulnerabilityGitHub',
  title: 'SnykVulnerabilityGitHub',
  pathPrefix: '/snyk/vulnerabilities/github',
})

t.create('repo').get('/snyk/snyk.json').expectBadge({
  label: 'vulnerabilities',
  message: 'no longer available',
})

t.create('manifest path')
  .get('/snyk/snyk/test/fixtures/demo-os/package.json.json')
  .expectBadge({
    label: 'vulnerabilities',
    message: 'no longer available',
  })
